package com.telnetnz.ticketdesk.bean;

import org.springframework.beans.BeanUtils;

import com.telnetnz.ticketdesk.dao.entity.ConfigEntity;

public class ConfigBean extends ConfigEntity
{
	public static ConfigBean adapt(ConfigEntity entity) 
	{
		if (entity == null) return null;
		ConfigBean bean = new ConfigBean();
		BeanUtils.copyProperties(entity, bean);
		return bean;
	}

	public ConfigEntity toEntity() 
	{
		return this;
	}
}
